package command;

/**
 * @Author: Doream
 * @Date: 2022/1/29 20:46
 */
// 厨师类，命令的接收者
public class SeniorChef {
    private String name;

    public SeniorChef(String name) {
        this.name = name;
    }

    public void makeFood(String name, int num){
        System.out.println(this.name+"制作了"+num+"份"+name);
    }
}
